using System;
using System.Web.Mvc;
using Ornament.Web;
namespace Ornament.MVCWebFrame.Areas.MemberShips.Controllers
{
    public class OrgsController : Controller
    {
        //
        // GET: /Orgs/

        public ActionResult Index()
        {
            return View();
        }

        //
        // GET: /Orgs/Details/5

        public ActionResult Details(Guid? id)
        {
            return View();
        }

        //
        // GET: /Orgs/Create

        public ActionResult Create()
        {
            return View();
        }

        //
        // POST: /Orgs/Create

        [AcceptVerbs(HttpVerbs.Post)]
        public ActionResult Create(FormCollection collection)
        {
            try
            {
                // TODO: Add insert logic here

                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }
        }

        //
        // GET: /Orgs/Edit/5

        public ActionResult Edit(Guid? id)
        {
            return View();
        }

        //
        // POST: /Orgs/Edit/5

        [AcceptVerbs(HttpVerbs.Post)]
        public ActionResult Edit(Guid? id, FormCollection collection)
        {
            try
            {
                // TODO: Add update logic here

                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }
        }
    }
}